<include file="../Public/header" />
<script data-main="__PUBLIC__/admin/js/page/admin/content/comment" src="__PUBLIC__/admin/js/lib/requirejs/require.js"></script>
</head>

<body>

  <div class="page">
    <div class="page-hd">
      <h1>{$Think.lang.commentManage}</h1>
    </div>

    <div class="navbar">
      <ul class="nav">
        <li <eq name="weibo_tab" value="cur">class="active"</eq>><a href="{:URL('admin/Content/comment','from_app=weibo')}">{$Think.lang.weibo}</a>
        </li>
        <li <eq name="recycle_tab" value="cur">class="active"</eq>><a href="{:URL('admin/Content/comment','from_app=weibo&recycle=1')}">{$Think.lang.weiboRecycle}</a>
        </li>
        <li <eq name="other_tab" value="cur">class="active"</eq>><a href="{:URL('admin/Content/comment','from_app=other')}">{$Think.lang.otherApp}</a>
          </li>
        <li><a href="{:URL('admin/ArticleComment/lists')}">{$Think.lang.cms}</a></li>
      </ul>
    </div>

    <div class="datas">
      <div class="datas-bd">
        <table class="table">
        	<input type="hidden" id="from_app" value="{$from_app}"/>
          <thead>
            <tr>
              <th style="width: 10px">
                <input type="checkbox" class="toggle-all" />
              </th>
              <th style="width:20px">ID</th>
              <th style="width:40px">{$Think.lang.fromUser}</th>
              <th style="width:80px">{$Think.lang.toUser}</th>
              <th style="width:80px">{$Think.lang.ctime}</th>
              <th style="">{$Think.lang.content}</th>
              <th style="width:80px">{$Think.lang.comment}IP</th>
              <th style="width:80px">{$Think.lang.operating}</th>
            </tr>
          </thead>
          <tbody>
            <volist id="vo" name="data">
              <tr data-id="{$vo.comment_id}">
                <td>
                  <input type="checkbox" class="toggle" />
                </td>
                <td>{$vo.comment_id}</td>
                <td>{$vo.uid}</td>
                <td>{$vo.to_uid}</td>
                <td>{$vo.ctime|date="Y-m-d H:i",###}</td>
                <td>{$vo.content}</td>
                <td>{$vo.comment_ip}</td>
                <td><a href="{$vo.url}" target="_blank">查看</a> | <a href="javascript:;" class="A_del">删除</a>
                </td>
              </tr>
            </volist>
          </tbody>
        </table>
      </div>

      <div class="datas-ft">
        <div class="actions">
          <a href="javascript:;" class="btn" id="J_del">{$Think.lang.deleteComment}</a>
        </div>
        <div class="pager" style="text-align: right">{$page}</div>
      </div>

    </div>
  </div>
</body>

</html>
